package cn.tedu._05mvcboot06.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Article {
    @ApiModelProperty(value = "文章编号",required = true)
    public Long id;
    @ApiModelProperty(value = "文章标题",required = true)
    public String title;
    @ApiModelProperty(value = "文章内容",required = true)
    public String content;
    @ApiModelProperty(value = "用户编号",required = true)
    public Long userId;
}
